import 'package:flutter/material.dart';
import 'package:flutter_quick/frame.dart';
import 'package:flutter_quick/pages/home/chat.dart';

class Routes {
  static Map<String, Widget Function(BuildContext)> router(
      BuildContext context) {
    return {
      '/': (context) => AppFrame(),
      '/chat': (context) => const ChatPage(),
    };
  }
}
